package demo.T泛型.service;

import demo.T泛型.AbstractDefaultServiceImpl;
import demo.T泛型.pojo.MRequest;
import demo.T泛型.util.PojoBase;

public class IDataMigrationServiceThread4SFP implements Runnable{


   /* public IDataMigrationServiceThread4SFP(MigrationService migrationService) {
        this.migrationService = migrationService;
    }*/

    private AbstractDefaultServiceImpl<PojoBase> moveService1 ;

    private  MRequest mRequest1;

    public IDataMigrationServiceThread4SFP(AbstractDefaultServiceImpl<PojoBase> moveService, MRequest mRequest, int i) {
        moveService1 = moveService;
        mRequest1 = mRequest;
    }

    @Override
    public void run() {
        dataProcessing();
    }

    private void dataProcessing() {
        moveService1.doBusiness(mRequest1);
    }
}
